package com.tyt.travel.mapper;

import com.tyt.travel.model.SceneryEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SceneryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SceneryEntity record);

    int insertSelective(SceneryEntity record);

    SceneryEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SceneryEntity record);

    int updateByPrimaryKey(SceneryEntity record);

    List<SceneryEntity> searchScenery(@Param("name")String name);
}